const express = require('express')

const app = express()

app.listen(3001, () => {
  console.log('服务器开启成功：http://localhost:3001')
})

app.get('/index', (req, res) => {
  res.send('主页')
})

app.get('/login', (req, res) => {
  res.send('登录页')
})

